﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Project3.Models;

namespace Project3.Tests
{
    [TestClass]
    public class MeetingTest1
    {
        [TestMethod]
        public void TestingMeetingConstructorWithNoInputs()
        {
            Meeting meeting = new Meeting();

            Assert.IsFalse(meeting.IsValid);
        }

        [TestMethod]
        public void TestingMeetingConstructWithInputs()
        {
            Meeting meeting = new Meeting()
            {
                Title = "Epic Meeting",
                Description = "The most awesome meeting ever!!!!",
                MeetingDate = DateTime.Parse("12/12/12"),
                MeetingID = 99,
                Location = "Over that way"
            };

            Assert.IsTrue(meeting.IsValid);
        }
    }
}
